/*
 * QueryDiscoveryAdsResponse.java
 * business
 *
 * Created by ChenTao on 2016/10/20.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.net.BaseResponse;

import java.util.List;

/** 发现页广告 */
public class QueryDiscoveryAdsResponse extends BaseResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("want_buy")
        private WantBuy wantBuy;

        @SerializedName("discount")
        private Discount discount;

        @SerializedName("want_buy_list")
        private List<WantBuyEntity> wantBuyList;

        @SerializedName("discount_list")
        private List<DiscountEntity> discountList;

        public WantBuy getWantBuy() {
            return wantBuy;
        }

        public void setWantBuy(WantBuy wantBuy) {
            this.wantBuy = wantBuy;
        }

        public Discount getDiscount() {
            return discount;
        }

        public void setDiscount(Discount discount) {
            this.discount = discount;
        }

        public List<WantBuyEntity> getWantBuyList() {
            return wantBuyList;
        }

        public void setWantBuyList(List<WantBuyEntity> wantBuyList) {
            this.wantBuyList = wantBuyList;
        }

        public List<DiscountEntity> getDiscountList() {
            return discountList;
        }

        public void setDiscountList(List<DiscountEntity> discountList) {
            this.discountList = discountList;
        }
    }

    public static class WantBuy {

        @SerializedName("type")
        private String type;

        @SerializedName("banner_name")
        private String bannerName;

        @SerializedName("banner_url")
        private String bannerUrl;

        @SerializedName("banner_code")
        private String bannerCode;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getBannerName() {
            return bannerName;
        }

        public void setBannerName(String bannerName) {
            this.bannerName = bannerName;
        }

        public String getBannerUrl() {
            return bannerUrl;
        }

        public void setBannerUrl(String bannerUrl) {
            this.bannerUrl = bannerUrl;
        }

        public String getBannerCode() {
            return bannerCode;
        }

        public void setBannerCode(String bannerCode) {
            this.bannerCode = bannerCode;
        }
    }

    public static class Discount {

        @SerializedName("type")
        private String type;

        @SerializedName("banner_name")
        private String bannerName;

        @SerializedName("banner_url")
        private String bannerUrl;

        @SerializedName("banner_code")
        private String bannerCode;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getBannerName() {
            return bannerName;
        }

        public void setBannerName(String bannerName) {
            this.bannerName = bannerName;
        }

        public String getBannerUrl() {
            return bannerUrl;
        }

        public void setBannerUrl(String bannerUrl) {
            this.bannerUrl = bannerUrl;
        }

        public String getBannerCode() {
            return bannerCode;
        }

        public void setBannerCode(String bannerCode) {
            this.bannerCode = bannerCode;
        }
    }

    public static class WantBuyEntity {

        @SerializedName("type")
        private String type;

        @SerializedName("wid")
        private String wid;

        @SerializedName("goods_name")
        private String goodsName;

        @SerializedName("path")
        private String path;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getWid() {
            return wid;
        }

        public void setWid(String wid) {
            this.wid = wid;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }
    }

    public static class DiscountEntity {

        @SerializedName("type")
        private String type;

        @SerializedName("ad_name")
        private String adName;

        @SerializedName("ad_link")
        private String adLink;

        @SerializedName("ad_code")
        private String adCode;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAdName() {
            return adName;
        }

        public void setAdName(String adName) {
            this.adName = adName;
        }

        public String getAdLink() {
            return adLink;
        }

        public void setAdLink(String adLink) {
            this.adLink = adLink;
        }

        public String getAdCode() {
            return adCode;
        }

        public void setAdCode(String adCode) {
            this.adCode = adCode;
        }
    }
}
